const { contextBridge, ipcRenderer } = require('electron')

contextBridge.exposeInMainWorld('electronAPI', {
  selectDownloadPath: () => ipcRenderer.invoke('select-download-path'),
  importMusic: () => ipcRenderer.invoke('import-music'),
  scanLocalMusic: (path) => ipcRenderer.invoke('scan-local-music', path)
})
